package com.bupt.ilink.mapper.innovationPlaza;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bupt.ilink.entity.innovationPlaza.AnnouncementInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.math.BigInteger;
import java.util.List;

@Mapper
public interface AnnouncementInfoMapper extends BaseMapper<AnnouncementInfo> {
    //
    @Select("SELECT * FROM announcement_info WHERE competition_id = #{id}")
    List<AnnouncementInfo> selectByForeignKeyId(@Param("id") Long id);
}
